import React,{useState} from 'react';
import {Map, Marker, NavigationControl, InfoWindow,ZoomControl} from 'react-bmapgl';
import '../../../../../styles/Issue/Map.scss'
const Mapt = (props) => {
  const [state] = useState('西部硅谷')
  return (
    <div id='commonMap' >
      <Map center={{lng: 113.900044, lat: 22.588216}} zoom="13" style={{position:'relative',height:'2rem'}}>
            <Marker position={{lng: 113.900044, lat: 22.588216}} />
            
            
            <InfoWindow position={{lng: 113.900044, lat: 22.588216}} text="6F-17" title={state}/>
            <ZoomControl  zoom='2'/>
            <NavigationControl />
      </Map>
    </div>
  );
}

export default Mapt;